﻿using System;

namespace PARK.Consumer.Entitys.Dto.ConsumRefund
{
    /// <summary>
    /// 充值管理输入参数
    /// </summary>
    public class ConsumRefundListOutput
    {
        /// <summary>
        /// 
        /// </summary>
        public string taskId { get; set; }
        /// <summary>
        /// 原充值单Id
        /// </summary>
        public string rechargeId { get; set; }
        /// <summary>
        /// 原支付交易对应的商户订单号
        /// </summary>
        public string out_trade_no { get; set; }
        /// <summary>
        /// 微信支付交易订单号
        /// </summary>
        public string transaction_id { get; set; }
        /// <summary>
        /// 原支付金额
        /// </summary>
        public decimal totalAmt { get; set; }
        /// <summary>
        /// 退款金额
        /// </summary>
        public decimal refundAmt { get; set; }
        /// <summary>
        /// 是否已退款 1是0否
        /// </summary>
        public int IsRefund { get; set; } = 0;
        /// <summary>
        /// 退款时间
        /// </summary>
        public DateTime? RefundDate { get; set; }
        /// <summary>
        /// 商户系统内部的退款单号，商户系统内部唯一
        /// </summary>
        public string out_refund_no { get; set; }
        /// <summary>
        /// 微信支付退款号
        /// </summary>
        public string refund_id { get; set; }
        /// <summary>
        /// 退款结果
        /// </summary>
        public string refundStatus { get; set; }
        /// <summary>
        /// 摘要信息
        /// </summary>
        public string Summary { get; set; }
        /// <summary>
        /// 创建人Id
        /// </summary>
        public string CreateUser { get; set; }
        /// <summary>
        /// 创建人姓名
        /// </summary>
        public string CreateUserName { get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? CreateDate { get; set; }
        /// <summary>
        /// 入库时间
        /// </summary>
        public DateTime? DbDate { get; set; }
        /// <summary>
        /// 消费卡号 
        /// </summary>
        public string CardNo { get; set; }
        /// <summary>
        /// 卡面卡号 
        /// </summary>
        public string CatCardNo { get; set; }
        /// <summary>
        /// 用户Id
        /// </summary>
        public string EmployeeId { get; set; }

        /// <summary>
        /// 工号
        /// </summary>
        public string JobNo { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string ReallName { get; set; }

        /// <summary>
        /// 部门Id
        /// </summary> 
        public string DepartId { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public string DepartName { get; set; }
        /// <summary>
        /// 所属公司Id
        /// </summary>
        public string CompanyId { get; set; }
        /// <summary>
        /// 公司名称
        /// </summary>
        public string CompanyName { get; set; }
        /// <summary>
        /// 是否已执行退款
        /// </summary>
        public int? IsAny { get; set; }
        /// <summary>
        /// 申请退款时间
        /// </summary>
        public DateTime AuditDate { get; set; }
        /// <summary>
        /// 是否需要退款 1是0否
        /// </summary>
        public int? IsNeedRefund { get; set; }

        /// <summary>
        /// 销户状态 0 无需退款；1 等待退款；2 退款处理中；3 退款成功；4 转入退款；5 退款异常
        /// </summary>
        public int? billStatus { get; set; }
        /// <summary>
        /// 销户状态名称
        /// </summary>
        public string billStatusName { get; set; }
    }
}
